/* pages/result/result.wxss */
.result {
  width: 100%;
  height: 100vh;
  background: linear-gradient(#0f0c10, #3e1b24);

  .result-content {
    height: 100%;
    display: flex;
    flex-direction: column;

    .banner {
      width: 100%;
      padding: 30rpx;
      box-sizing: border-box;

      .score-content {
        width: 100%;
        position: relative;

        .bar-img {
          width: 100%;
          display: block;
        }

        .score-info {
          width: 100%;
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          display: flex;
          align-items: center;
          justify-content: center;

          .left {
            width: 200rpx;
            color: #3D3D3D;
            font-weight: bold;
            letter-spacing: 1rpx;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            .avatar {
              width: 160rpx;
              height: 160rpx;
              border-radius: 15px;
            }
            .name{
              margin-top: 10rpx;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
            }
          }

          .right {
            margin-left: 20rpx;

            .right-item {
              display: flex;
              align-items: center;
              color: #505050;

              &:nth-child(2) {
                padding: 25rpx 0;
              }

              .lable {
                margin-right: 47rpx;
              }

              .score_a {
                color: #E94A59;
                font-size: 60rpx;
                font-weight: bold;
              }

              .score_b {
                color: #26A7DE;
                font-size: 60rpx;
                font-weight: bold;
                margin-right: 20rpx;
              }

              .start {
                display: flex;

                image {
                  width: 44rpx;
                  margin-right: 10rpx;
                  display: block;
                }
              }
            }
          }
        }
      }
    }

    .audio {
      padding: 0 70rpx 0 80rpx;
      color: white;

      wx-slider {
        margin: 30rpx 0 0 0;

        .wx-slider-handle-wrapper {
          height: 8rpx;
        }
      }

      .slider {
        .time {
          font-size: 24rpx;
          display: flex;
          align-items: center;
          justify-content: space-between;

          .current {
            color: #49EDFB;
          }
        }
      }

      .play {
        text-align: center;
        // margin-top: 16rpx;

        .play_pause {
          font-size: 80rpx;
        }
      }
    }

    .handle-bottom {
      margin-top: 22rpx;
      width: 100%;
      flex: 1;
      background: #252525;
      border-radius: 20rpx 20rpx 0rpx 0rpx;
      padding: 0 30rpx;
      box-sizing: border-box;
      color: white;

      .handle-item {
        .lable {
          margin: 25rpx 0;
          display: flex;
          align-items: center;
          .text{
            width: 160rpx;
          }
          .button{
            width: 184rpx;
            height: 64rpx;
            line-height: 64rpx;
            border-radius: 16rpx;
            text-align: center;
            border: 1rpx solid #464141;
            position: relative;
            &.active{
              border: 1rpx solid #158BA4;
            }
            .vip{
              position: absolute;
              right: 0;
              top: 0;
              width: 44rpx;
            }
          }
          .care{
            display: flex;
            align-items: center;
            image{
              width: 40rpx;
              margin: 0 20rpx;
            }
            .tip{
              font-size: 22rpx;
              background: #2E2E2E;
              padding: 13rpx 17rpx;
              border-radius: 20rpx;
              line-height: 34rpx;
              position: relative;
              // 写一个向左的三角
              &::before{
                content: '';
                width: 0;
                height: 0;
                border-top: 14rpx solid transparent;
                border-bottom: 14rpx solid transparent;
                border-right: 14rpx solid #2E2E2E;
                position: absolute;
                left: -10rpx;
                top: 50%;
                transform: translateY(-50%);
              }
            }
          }
        }

        .upload {
          width: 200rpx;
          height: 200rpx;
          background: #2E2E2E;
          border-radius: 16rpx;
          display: flex;
          align-items: center;
          justify-content: center;

          image {
            width: 100%;
            height: 100%;

            &.icon {
              width: 48rpx;
              height: 48rpx;
            }
          }
        }

        .slider {
          .slider-item {
            position: relative;
            display: flex;
            align-items: center;
            margin-bottom: 20rpx;

            .text {
              width: 100rpx;
              letter-spacing: 4rpx;
              color: #00b7c7;
              font-size: 30rpx;
            }

            wx-slider {
              // width: 100%;
              flex: 1;
              margin: 0;

              .wx-slider-handle-wrapper {
                height: 8rpx;
              }
            }
          }
        }
      }

      .special {
        margin-top: 30rpx;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .special-item {
          position: relative;
          width: 23%;

          image {
            width: 100%;
          }

          text {
            font-size: 30rpx;
            width: 70rpx;
            text-align: center;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
          }
          .select-icon {
            width: 34rpx;
            height: 34rpx;
            position: absolute;
            top: 4rpx;
            right: 4rpx;
            z-index: 10;
          }
        }
      }

      .handle-btn {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 20rpx 0 30rpx 0;

        button {
          font-size: 30rpx;
          background: #158BA4;
          height: 86rpx;
          line-height: 86rpx;
          border-radius: 15rpx;
          width: 100%;
          margin: auto;
        }
      }
    }
  }

  .photo-content {
    background: #252525;
    min-height: 100%;
    padding: 30rpx;
    box-sizing: border-box;

    .photo-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;

      .photo-nav-item {
        text-align: center;
        color: #919191;
        width: 50%;
        font-size: 30rpx;
        letter-spacing: 1rpx;

        &.active {
          color: #00B7C7;
        }

        &:first-child {
          position: relative;

          &::before {
            content: '';
            width: 2rpx;
            height: calc(100% - 5rpx);
            background: #919191;
            position: absolute;
            right: 0px;
            top: 2.5rpx;
          }
        }
      }
    }

    .photo-list {
      position: relative;
      box-sizing: border-box;

      .image-list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;

        .image-item {
          width: 33.33%;
          padding: 0 9rpx;
          box-sizing: border-box;
          height: 200rpx;
          margin-top: 20rpx;
          position: relative;

          .img {
            width: 100%;
            height: 100%;
          }

          .select-icon {
            width: 40rpx;
            height: 40rpx;
            position: absolute;
            top: 7rpx;
            right: 9rpx;
            z-index: 10;

            image {
              width: 100%;
            }
          }
        }
      }

      .photo-btn {
        width: 100%;
        background: #252525;
        position: sticky;
        padding: 40rpx 20rpx;
        box-sizing: border-box;
        bottom: 0;
        left: 0;
        display: flex;
        justify-content: space-between;
        z-index: 999;

        button {
          font-size: 30rpx;
          background: #158BA4;
          height: 70rpx;
          line-height: 70rpx;
          border-radius: 8rpx;
          width: 210rpx;
          margin: 0;

          &.back {
            background: transparent;
            color: #ffffff;
            border: 1rpx solid #ffffff;
          }
        }
      }
    }
  }
}